import java.util.ArrayList;
import java.util.List;

import Entity.DANXUAN_Entity;

// import org.apache.poi.ss.formula.functions.T;

import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.Getter;
import lombok.Setter;

@Data
// @Setter
// @Getter
@EqualsAndHashCode
public class SheetF {


    // 表名称
    private String sheet_name;

    // 表类型
    public Choose_Type sheet_type;
    // 绑定实体类
    private Class<DANXUAN_Entity> dataClass;
    // 数据
    private List<DANXUAN_Entity> data=new ArrayList<>();

    // 父类 工作簿 实例
    private BookF book_father;

    public SheetF() {
    }

    

    public SheetF(String sheet_name) {
        this.sheet_name = sheet_name;
    }

    public SheetF(String sheet_name,Choose_Type choose) {
        this.sheet_name = sheet_name;
        this.sheet_type=choose;
    }

    public SheetF(String sheet_name, Class<DANXUAN_Entity> dataClass) {
        this.sheet_name = sheet_name;
        this.dataClass = dataClass;
    }

    public SheetF(String sheet_name, Class<DANXUAN_Entity> dataClass, List<DANXUAN_Entity> data) {
        this.sheet_name = sheet_name;
        this.dataClass = dataClass;
        this.data = data;
    }

    public SheetF(String sheet_name, Class<DANXUAN_Entity> dataClass, BookF book_father) {
        this.sheet_name = sheet_name;
        this.dataClass = dataClass;
        this.book_father = book_father;
    }


}
